﻿CREATE FUNCTION dbo.Format_CTD (@Comment varchar(4000))  
RETURNS varchar(4000) AS  
BEGIN 
DECLARE @Ret varchar(4000)

IF ISNULL(@Comment,'') = ''
	RETURN ''

RETURN '<UL style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><LI>'+Replace(@Comment, CHAR(10),  '</LI><LI>') + '</LI></UL>'

END

